//
//  DDBossJobService.h
//  DingDongZP
//
//  Created by Jyh on 16/4/26.
//  Copyright © 2016年 iyhjiang.com. All rights reserved.
//

#import "DDBaseService.h"

@interface DDBossJobService : DDBaseService

/**
 *  boss创建职位
 *
 *  @param paraDic      职位字典
 *  @param successBlock 成功回调
 *  @param failBlock    失败回调
 
 
 mobile=                 // 手机号码
 hashedpassword =        // 加密后的密码
 category_id =           // 职位类型 ID
 job_title =             // 职位名称
 salary_id =             // 职位薪资范围 ID
 job_attraction =        // 职位诱惑
 experience_id=          // 经验要求 ID
 edu_id=                 // 学历要求 ID
 city_id=                // 工作城市
 job_desc=               // 工作内容

 // 技能要求标签  采用 JSON 格式,tagsNum 为标签数目,
 tagsIDs 为标签 ID 数组
 skillrequirement_tags ={ "tagsNum":3,"tagsIDs":["","",""]}
 */
- (void)creatJobInfoWithDictionary:(NSDictionary *)paraDic
                                  SuccessBlock:(successBlock)successBlock
                                     failBlock:(faileBlock)failBlock;

/**
 *  boss修改职位
 *
 *  @param paraDic      职位字典
 *  @param successBlock 成功回调
 *  @param failBlock    失败回调
 
 mobile=                // 手机号码        -- 必填
 hashedpassword =       // 加密后的密码     -- 必填
 job_id =               // 要编辑的职位 ID  -- 必填
 category_id =          // 职位类型 ID
 job_title =            // 职位名称
 salary_id =            // 职位薪资范围 ID
 job_attraction=        // 职位诱惑
 experience_id=         // 经验要求 ID
 edu_id=                // 学历要求 ID
 city_id=               // 工作城市
 job_desc=              //工作内容
 is_hidden=             // 是否隐藏该职位

 // skillrequirement_tags 为技能要求标签,采用 JSON 格式,tagsNum 为标签数目,
 tagsIDs 为标签 ID 数组
 skillrequirement_tags ={ "tagsNum":3,"tagsIDs":["","",""]}
 
 */
- (void)editJobInfoWithDictionary:(NSDictionary *)paraDic
                      SuccessBlock:(successBlock)successBlock
                         failBlock:(faileBlock)failBlock;

/**
 *  boss删除职位
 *
 *  @param jobId        职位Id
 *  @param successBlock 成回调
 *  @param failBlock    失败回调
 */
- (void)deleteJobInfoWithJobId:(NSString *)jobId
                     SuccessBlock:(successBlock)successBlock
                        failBlock:(faileBlock)failBlock;

/**
 *  boss查询我发布的所有职位
 *
 *  @param successBlock
 *  @param failBlock
 */
- (void)queryMyselfAllJobInfoSuccessBlock:(successBlock)successBlock
                                failBlock:(faileBlock)failBlock;

/**
 *  Boss查询我发布的某个职位
 *
 *  @param jobId
 *  @param successBlock
 *  @param failBlock
 */
- (void)queryMyselfJobInfoWithJobId:(NSString *)jobId
                       SuccessBlock:(successBlock)successBlock
                          failBlock:(faileBlock)failBlock;


/**
 *  Boss设置当前职位ID
 *  Boss 端从发现页下拉选择发布的职位时设置
 *  @param jobId        // 要设置的当前职位 ID
 *  @param successBlock
 *  @param failBlock
 */
- (void)setMyselfCurrentJobId:(NSString *)jobId
                       SuccessBlock:(successBlock)successBlock
                          failBlock:(faileBlock)failBlock;

// boss发现中查询牛人职位推荐
- (void)queryRecommendJobfindersWithJobId:(NSString *)jobId
                                     page:(NSString *)page
                             SuccessBlock:(successBlock)successBlock
                                failBlock:(faileBlock)failBlock;
// boss发现中查询牛人职位（最新 最热）
- (void)queryJobfindersWithJobId:(NSString *)jobId
                           order:(NSString *)order
                            page:(NSString *)page
                    SuccessBlock:(successBlock)successBlock
                       failBlock:(faileBlock)failBlock;

// boss根据筛选条件请求牛人数据
- (void)queryJobfindersWithJobId:(NSString *)jobId
                      Filtertype:(NSString *)filtertype
                        FilterID:(NSString *)filterId
                            page:(NSString *)page
                    SuccessBlock:(successBlock)successBlock
                       failBlock:(faileBlock)failBlock;




@end
